package com.ypinkj.app.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ypinkj.app.entity.CCompany;
import com.ypinkj.app.mapper.CCompanyMapper;
import com.ypinkj.app.service.CCompanyService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author LF
 * @since 2020-09-29
 */
@Service
public class CCompanyServiceImpl extends ServiceImpl<CCompanyMapper, CCompany> implements CCompanyService {

    @Override
    public List<CCompany> getPopularCompanies(Integer page, Integer limit) {
        return baseMapper.getPopularCompanies(page,limit);
    }
}
